<?php

function controller_info($config) {
    if (isset($_SESSION['logged'])){
		if ((isset($config['ruri'][1]))&&($config['ruri'][1]=='twembozz')){
			view_itwembozz($config,array());
		} else if ((isset($config['ruri'][1]))&&($config['ruri'][1]=='agenda')){
			view_iagenda($config,array());
		} else if ((isset($config['ruri'][1]))&&($config['ruri'][1]=='mading')){
			view_imading($config,array());
		} else if ((isset($config['ruri'][1]))&&($config['ruri'][1]=='sms')){
			view_isms($config,array());
		}
	} else
		view_login($config,array());
}
